package cn.scm.server.multistage.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 授信记录表(BizCreditGrantingRecord)实体类
 *
 * @author makejava
 * @since 2020-09-23 20:51:17
 */
public class BizCreditGrantingRecord implements Serializable {
    private static final long serialVersionUID = 975362360086711072L;
    /**
     * 授信ID
     */
    private String creditGrantingId;
    /**
     * 授信编号
     */
    private String creditGrantingNo;
    /**
     * 申请人ID
     */
    private String applyUserId;
    /**
     * 申请公司ID
     */
    private String applyCompanyId;
    /**
     * 子公司ID
     */
    private String companyId;
    /**
     * 子公司名称
     */
    private String companyName;
    /**
     * 授信额度
     */
    private BigDecimal creditGrantingLimit;
    /**
     * 授信起始日
     */
    private Date startDate;
    /**
     * 授信到期日
     */
    private Date expireDate;
    /**
     * 有效期(天)
     */
    private Integer validDay;
    /**
     * 已用额度
     */
    private BigDecimal usedLimit;
    /**
     * 剩余额度
     */
    private BigDecimal surplusLimit;
    /**
     * 授信状态：1 未提交,2 审批中,3 已启用,4 已失效,5 已拒绝
     */
    private Integer status;
    /**
     * 流程实例ID
     */
    private String processInstanceId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 创建人
     */
    private String createUser;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 修改人
     */
    private String updateUser;


    public String getCreditGrantingId() {
        return creditGrantingId;
    }

    public void setCreditGrantingId(String creditGrantingId) {
        this.creditGrantingId = creditGrantingId;
    }

    public String getCreditGrantingNo() {
        return creditGrantingNo;
    }

    public void setCreditGrantingNo(String creditGrantingNo) {
        this.creditGrantingNo = creditGrantingNo;
    }

    public String getApplyUserId() {
        return applyUserId;
    }

    public void setApplyUserId(String applyUserId) {
        this.applyUserId = applyUserId;
    }

    public String getApplyCompanyId() {
        return applyCompanyId;
    }

    public void setApplyCompanyId(String applyCompanyId) {
        this.applyCompanyId = applyCompanyId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public BigDecimal getCreditGrantingLimit() {
        return creditGrantingLimit;
    }

    public void setCreditGrantingLimit(BigDecimal creditGrantingLimit) {
        this.creditGrantingLimit = creditGrantingLimit;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    public Integer getValidDay() {
        return validDay;
    }

    public void setValidDay(Integer validDay) {
        this.validDay = validDay;
    }

    public BigDecimal getUsedLimit() {
        return usedLimit;
    }

    public void setUsedLimit(BigDecimal usedLimit) {
        this.usedLimit = usedLimit;
    }

    public BigDecimal getSurplusLimit() {
        return surplusLimit;
    }

    public void setSurplusLimit(BigDecimal surplusLimit) {
        this.surplusLimit = surplusLimit;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

}